Skip to content

Fix assertion in ImageMobjectFromCamera.interpolate_color()#4593

Merged
behackl merged 1 commit intoManimCommunity:mainfrom
chopan050:fix-imfc-interpolate-assert
Feb 16, 2026
Merged

Fix assertion in ImageMobjectFromCamera.interpolate_color()#4593
behackl merged 1 commit intoManimCommunity:mainfrom
chopan050:fix-imfc-interpolate-assert

Conversation

@chopan050
Copy link
Contributor

When reviewing PR #4458, I missed an assertion in ImageMobjectFromCamera.interpolate_color() causing an error because the types of the Mobjects passed as parameters should have been ImageMobjectFromCamera, not ImageMobject. This is causing an example scene using MovingScene to crash. This PR fixes that.

Copy link
Member

@behackl behackl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@behackl behackl merged commit ae501ba into ManimCommunity:main Feb 16, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants